//
//  UIBarButtonItem+FGExtension.h
//  FGSDK
//
//  Created by LWF on 2018/5/4.
//  Copyright © 2018年 杭州东九网络科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (FGExtension)

#pragma mark - 纯图片
+ (UIBarButtonItem *)itemWithImage:(NSString *)imageName target:(id)target action:(SEL)action;
+ (UIBarButtonItem *)leftItemWithImage:(NSString *)imageName target:(id)target action:(SEL)action;
+ (UIBarButtonItem *)rightItemWithImage:(NSString *)imageName target:(id)target action:(SEL)action;
+ (UIBarButtonItem *)itemWithImage:(NSString *)imageName highImageName:(NSString *)highImageName target:(id)target action:(SEL)action;


#pragma mark - 纯文字
+ (UIBarButtonItem *)itemWithTitle:(NSString *)title target:(id)target action:(SEL)action;
+ (UIBarButtonItem *)leftItemWithTitle:(NSString *)title target:(id)target action:(SEL)action;
+ (UIBarButtonItem *)rightItemWithTitle:(NSString *)title target:(id)target action:(SEL)action;

@end
